<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>博客首页</title>
    <link rel="stylesheet" href="/css/layui.css">
    <script src="/layui/layui.js"></script>
    <link rel="stylesheet" href="/blog/amaze/css/base.css">
    <link href="/imgs/favicon.ico" rel="shortcut icon">

    <style>
        .layui-nav {
            opacity: 0.5;
            z-index: 3;
            position: fixed;

        }

    </style>

    <link rel="stylesheet" href="/css/like.css">
    <script src="/js/like.js"></script>

    <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
    <script src="/js/kawai.js"></script><!--必须在后面-->
</head>
<body>


<div th:replace="~{commons/blog_commons::topbar}"></div>

<div th:replace="~{commons/blog_commons::topimg}"></div>

<!--主体-->
<div class="am-g am-g-fixed blog-fixed">
    <div class="am-u-lg-8 am-u-sm-12">
        <main class="links-list">

            <div class="title">
                <h3>友链</h3><!--友链放这里-->
            </div>
            <div class="list">
                <ul th:each="link:${links}">
                    <li th:if="${link.getType()} == 0"><a target="_blank" th:href="@{${link.getUrl()}}" th:text="${link.getName()}"></a>
                        -
                        [[${link.getDescription()}]]
                    </li>
                </ul>
            </div>


            <div class="title">
                <h3>推荐网站</h3>
            </div>
            <div class="list">
                <ul th:each="link:${links}">
                    <li th:if="${link.getType()} == 1"><a target="_blank" th:href="@{${link.getUrl()}}" th:text="${link.getName()}"></a>
                        -
                        [[${link.getDescription()}]]
                    </li>
                </ul>
            </div>


            <div class="title">
                <h3>个人链接</h3>
            </div>
            <div class="list">
                <ul th:each="link:${links}">
                    <li th:if="${link.getType()} == 2"><a target="_blank" th:href="@{${link.getUrl()}}" th:text="${link.getName()}"></a>
                        -
                        [[${link.getDescription()}]]
                    </li>
                </ul>
            </div>

            <h2 id="个人链接">申请链接须知</h2>
            <p>博主邮箱是
                553258433@qq.com
                , 格式要求如下:
            </p>
            <ul>
                <li>网站名称：abab</li>
                <li>网站链接：http://abab.site</li>
                <li>网站描述：abab的个人博客</li>
            </ul>

        </main>
    </div>
</div>

<div th:replace="~{commons/blog_commons::footer}"></div>


</body>
</html>